package com.usian.service;

import com.github.pagehelper.PageInfo;
import com.usian.pojo.CompetitionDto2;
import com.usian.pojo.CompetitionVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @Email 2781921355@qq.com
 * @Author 马忠豪
 * @Date 2023/8/23 18:51
 */
@FeignClient(value = "day121")
public interface CompetitionService {
    @RequestMapping("comRoleTeam/findCompertition")
    public Integer findCompertition(@RequestParam("token") String token);
    @RequestMapping("competition/getCompetition")
    public PageInfo<CompetitionVo> getCompetition(@RequestBody CompetitionDto2 competitionDto2);
}
